﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConsultarHojaRuta.aspx.cs" Inherits="abmObra_ConsultarHojaRuta" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link rel="stylesheet" type="text/css" href="../estilos/estilos.css" />
    <title>Consultar hoja de ruta</title>
      <script src="../js/jquery-1.7.2.min.js" type="text/javascript"></script>
  

       <script type="text/javascript">
        


  $(document).ready(function () {

      $("#imprime").click(function () {
          alert("Imprimiendo...")
      });


   
        });
        </script>

    </head>
<body id="main_body" style="margin-left: 0px; margin-top: 5px; margin-right: 0px;
    margin-bottom: 0px; background-color: white;">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
        <tbody>
            <tr>
                <td>
                    <div id="div_header" style="height: 70px;" class="title">
                        <table border="0" cellpadding="0" cellspacing="0" class="imagen_header">
                            <tbody>
                                <tr class="row_top">
                                    <td>
                                        <div style="width: 200">
                                        </div>
                                    </td>
                                    <td>
                                    </td>
                                   <td style="text-align: right" >
                                        <div class="loginName">
                                        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>&nbsp;&nbsp;
                                        <a href="../Salir.aspx"><img alt="" src="../images/salir.gif" border="0"  />&nbsp;Salir</a>&nbsp;&nbsp;
                                          |
                                        <a href="../CambiarClave.aspx">&nbsp;Cambiar Clave</a>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div id="div_body" style="border-style: none; border-color: inherit; border-width: 0px; position: relative; left: 1px; top: -25px; align: center;
                        width: 760px; height: 500px; overflow-y: auto; overflow-x: hidden;
                        z-index: 20">
                        <form id="form2" runat="server">
                        <table id="centrar" align="center" cellpadding="0" cellspacing="0" style="text-align: left;
                            text-indent: 2px; width: 100%;" class="text">
                            <tr>
                                <td>
                                    
                                            <table style="width: 100%; height: 166px; margin-right: 0px;" 
                                                    align="center">
                                                     <tr>
                                            <td class="text">
                        Administrar obras &gt;&gt; Consultar hoja de ruta</td>
                                        </tr>
                                                     <tr>
                                            <td style="height: 10px" class="table_header_text_center">
                                                Consultar hoja de ruta</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Obras asignadas:
                                                <asp:Label ID="cantObras" runat="server" Text="No tiene obras asignadas" 
                                                    ForeColor="Red"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr align="left">
                                            <td style="height: 10px" >
                                            <div id="tabla">
                                                <asp:GridView ID="grdAsignaciones" runat="server" AllowPaging="True" 
                                                    AllowSorting="True" AutoGenerateColumns="False" BackColor="White" 
                                                    BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                                    EnableModelValidation="True" OnPageIndexChanging="grdAsignaciones_PageIndexChanging" 
                                                    OnSorting="grdAsignaciones_Sorting" PageSize="5" Width="753px"  
                                                    Height="161px">
                                                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                                    <Columns>
                                                        <asp:BoundField DataField="nroOT" HeaderText="Nro de OT"
                                                         SortExpression="nroOT" >
                                                         <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
                                                         <asp:BoundField DataField="fechaInicio" HeaderText="Fecha de Inicio" 
                                                            SortExpression="fechaInicio" >
                                                         <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
                                                         <asp:BoundField DataField="fechaFinalizacion" HeaderText="Fecha de Fin" 
                                                            SortExpression="fechaFinalizacion" >
                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
                                                            <asp:BoundField DataField="etapa" HeaderText="Etapa actual" 
                                                            SortExpression="etapa" >
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="lugar" HeaderText="Lugar de la Obra"
                                                         SortExpression="lugar" >
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="cliente" HeaderText="Cliente" 
                                                            SortExpression="cliente" >
       
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        </asp:BoundField>
       
                                                    </Columns>
                                                    <RowStyle BackColor="White" ForeColor="#003399" HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                                </asp:GridView>
                                                </div>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td style="height: 10px; text-align: right;">
                                            
                           
                                              
                                                <input id="imprime" type="button" value="Imprimir" class="small_button" />
                                          
                                       
                                            
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="height: 10px">
                                            <hr/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">
                                                <asp:Button ID="botonAceptar" runat="server" Text="Aceptar" 
                                                    CssClass="small_button" onclick="botonAceptar_Click"  />
                                            </td>
                                        </tr>
                                       
                                      
                                    </table>
                                   
                                </td>
                            </tr>
                        </table>
                        </form>
                    </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" width="760px" style="background-color: white;
                        text-align: center;">
                        <tbody>
                            <tr>
                                <td>
                                    <img src="../images/footer2.gif" height="26" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>






